import {Pipe, PipeTransform} from '@angular/core';
import {CommonTool} from '../common.tool';

@Pipe({
  name: 'analysis'
})
export class AnalysisPipe implements PipeTransform {

  transform(value: any, type?: string): any {
    return CommonTool.conversion(value, type);
  }

}
